Skip to main content

IRedisListAsync<T>

Wrap the common redis list operations under a IList[string] interface.

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisListAsync<T> : IHasStringId, IHasId<string>

Methods

CountAsync(CancellationToken)

View Source
Declaration
ValueTask<int> CountAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetAllAsync(CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetAllAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetRangeAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeAsync(int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Int32startingFrom
System.Int32endingAt
System.Threading.CancellationTokentoken

GetRangeFromSortedListAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeFromSortedListAsync(int startingFrom, int endingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Int32startingFrom
System.Int32endingAt
System.Threading.CancellationTokentoken

RemoveAllAsync(CancellationToken)

View Source
Declaration
ValueTask RemoveAllAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

TrimAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask TrimAsync(int keepStartingFrom, int keepEndingAt, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int32keepStartingFrom
System.Int32keepEndingAt
System.Threading.CancellationTokentoken

RemoveValueAsync(T, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveValueAsync(T value, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
<T>value
System.Threading.CancellationTokentoken

RemoveValueAsync(T, Int32, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveValueAsync(T value, int noOfMatches, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
<T>value
System.Int32noOfMatches
System.Threading.CancellationTokentoken

AddRangeAsync(IEnumerable<T>, CancellationToken)

View Source
Declaration
ValueTask AddRangeAsync(IEnumerable<T> values, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Collections.Generic.IEnumerable<<T>>values
System.Threading.CancellationTokentoken

AppendAsync(T, CancellationToken)

View Source
Declaration
ValueTask AppendAsync(T value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>value
System.Threading.CancellationTokentoken

PrependAsync(T, CancellationToken)

View Source
Declaration
ValueTask PrependAsync(T value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>value
System.Threading.CancellationTokentoken

RemoveStartAsync(CancellationToken)

View Source
Declaration
ValueTask<T> RemoveStartAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

BlockingRemoveStartAsync(Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<T> BlockingRemoveStartAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

RemoveEndAsync(CancellationToken)

View Source
Declaration
ValueTask<T> RemoveEndAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

EnqueueAsync(T, CancellationToken)

View Source
Declaration
ValueTask EnqueueAsync(T value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>value
System.Threading.CancellationTokentoken

DequeueAsync(CancellationToken)

View Source
Declaration
ValueTask<T> DequeueAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

BlockingDequeueAsync(Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<T> BlockingDequeueAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

PushAsync(T, CancellationToken)

View Source
Declaration
ValueTask PushAsync(T value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>value
System.Threading.CancellationTokentoken

PopAsync(CancellationToken)

View Source
Declaration
ValueTask<T> PopAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

BlockingPopAsync(Nullable<TimeSpan>, CancellationToken)

View Source
Declaration
ValueTask<T> BlockingPopAsync(TimeSpan? timeOut, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Nullable<System.TimeSpan>timeOut
System.Threading.CancellationTokentoken

PopAndPushAsync(IRedisListAsync<T>, CancellationToken)

View Source
Declaration
ValueTask<T> PopAndPushAsync(IRedisListAsync<T> toList, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisListAsync<T>toList
System.Threading.CancellationTokentoken

RemoveAsync(T, CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

AddAsync(T, CancellationToken)

View Source
Declaration
ValueTask AddAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

RemoveAtAsync(Int32, CancellationToken)

View Source
Declaration
ValueTask RemoveAtAsync(int index, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int32index
System.Threading.CancellationTokentoken

ContainsAsync(T, CancellationToken)

View Source
Declaration
ValueTask<bool> ContainsAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

ClearAsync(CancellationToken)

View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

IndexOfAsync(T, CancellationToken)

View Source
Declaration
ValueTask<int> IndexOfAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

ElementAtAsync(Int32, CancellationToken)

View Source
Declaration
ValueTask<T> ElementAtAsync(int index, CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Int32index
System.Threading.CancellationTokentoken

SetValueAsync(Int32, T, CancellationToken)

View Source
Declaration
ValueTask SetValueAsync(int index, T value, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Int32index
<T>value
System.Threading.CancellationTokentoken